package com.yingxin.yxerp.module.activiti.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yingxin.yxerp.module.activiti.entity.ActivitiReplaceInfo;
import com.yingxin.yxerp.module.activiti.mapper.ActivitiReplaceInfoMapper;
import com.yingxin.yxerp.module.activiti.service.IActivitiReplaceInfoService;
import com.yingxin.yxerp.module.activiti.vo.req.ActivitiReplaceInfoQueryVo;
import com.yingxin.yxerp.module.activiti.vo.resp.ActivitiReplaceInfoRespVo;
import org.springframework.stereotype.Service;

@Service
public class IActivitiReplaceInfoServiceImpl extends ServiceImpl<ActivitiReplaceInfoMapper, ActivitiReplaceInfo> implements IActivitiReplaceInfoService {

    @Override
    public IPage<ActivitiReplaceInfoRespVo> pageVo(Page page, ActivitiReplaceInfoQueryVo queryVo) {
        return baseMapper.pageVo(page, queryVo);
    }

    @Override
    public Integer getCount(String userId) {
        return baseMapper.getCount(userId);
    }

}
